<?php
/* OpenManage
 * Database Configuration File
 * dbconfig.php
 * Released under the GNU General Public Licnese version 3
 */

/* @author ciaran.crocker5@gmail.com
 * @since Alpha
 * @version
 */

include("./adodb5/adodb.inc.php");

$si = 0;
// To add extra database connections, copy and paste the below section underneath itself.
$si++;
$database[$si]['hostname'] = "localhost";
$database[$si]['user'] = "root";
$database[$si]['password'] = "";
$database[$si]['database'] = "openmanage";
$database[$si]['port'] = 3306; // Do not change this option unless you know that your database runs on a non-standard port.

// That's it! Stop editing from this point on!
$maxsi = $si;

for($serv = 0;$serv < $maxsi; $serv++) {
    $db[$serv] = NewADOConnection('mysql');
    $db[$serv]->Connect($database[$serv]['hostname'], $database[$serv]['user'], $database[$serv]['password'], $database[$serv]['database']);
}

?>
